package com.tbit.uqbike.service.business;

import com.tbit.common.entity.vo.MainLogAuditVo;
import com.tbit.uqbike.object.pojo.dto.WorkOrderLogQueryDTO;
import com.tbit.common.entity.pojo.vo.DateResult;
import com.tbit.uqbike.object.pojo.statistics.ExportPowerLog;
import com.tbit.uqbike.object.pojo.statistics.PowerLogDetail;
import com.tbit.uqbike.object.value.LoginInfo;

import java.util.List;

/**
 * @Author: chen
 * @Description: 换电记录
 * @Date: 创建于 11:19 2020/3/12
 */
public interface PowerChangeLogService {
    /**
     * 换电次数日期统计
     */
    List<List<DateResult>> statisticsByTime(Integer accountId, Integer accountUserId, Long startTime, Long endTime, Integer machineType, List<Integer> validList);

    /**
     * 换电记录份分页统计详细
     *
     * @param requestDTO .
     * @return .
     */
    List<PowerLogDetail> queryPage(WorkOrderLogQueryDTO requestDTO);

    /**
     * 换电记录份分页统计总数
     *
     * @param requestDTO .
     * @return .
     */
    Integer queryCount(WorkOrderLogQueryDTO requestDTO);

    /**
     * 换电次数统计导出
     */
    List<PowerLogDetail> exportByTime(WorkOrderLogQueryDTO queryDTO);

    /**
     * 换电次数数据总览
     */
    List<ExportPowerLog> getByType(Integer accountId, Integer accountUserId, Long startTime, Long endTime, Integer rowCount, Integer pageNO, List<Integer> regionIdList, Integer type, Integer machineType);

    /**
     * 修改审核状态
     */
    void updateAudit(MainLogAuditVo vo, LoginInfo loginInfo);

}
